﻿using ERPPublic;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ProcurementManagement.Domain.ProcurementDomain
{
    /// <summary>
    /// 退货产品表
    /// </summary>
    [SugarTable("ReturnProduct")]
    public class ReturnProduct : Audit
    {
        /// <summary>
        /// 采购退货产品id
        /// </summary>
        [SugarColumn(IsIdentity = true, IsPrimaryKey = true)] // 主键和自增
        public int ReturnProductId { get; set; }
        /// <summary>
        /// 产品id
        /// </summary>
        public int? ProductId { get; set; }
        /// <summary>
        /// 采购退货编号
        /// </summary>
        public string? PurchaseReturnsCode { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public int? RPNum { get; set; }
        /// <summary>
        /// 单价
        /// </summary>
        public decimal? RPPrice { get; set; }
    }
}
